package com.lnking.lnkingplace.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="RecordPlace对象", description="")
public class RecordPlace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "数据信息(json)")
    private String info;

    @ApiModelProperty(value = "类型")
    private String type;

    @JsonIgnore
    private Boolean delFlag;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
